<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
    @import "@/uni_modules/uview-ui/index.scss";
    .one{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .two{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    image{
        vertical-align: top;
    }
    .table{
        .uni-table{
            border-radius: 10rpx;
            /*overflow: hidden;*/
            .uni-table-tr{
                border-radius: 10rpx;
                /*overflow: hidden;*/
                .uni-table-th{
                    background: #365aa6;
                    font-size: 30rpx;
                    color: #fff;
                    font-weight: normal;
                    padding: 30rpx 15rpx;
                }
                .uni-table-td{
                    vertical-align: middle;
                    font-size: 28rpx;
                    color: #222;
                }
                &:first-child{
                    .checkbox{
                        background: #365aa6;
                        .checkbox__inner{
                            background-color: transparent;
                        }
                    }
                }
                &:nth-child(odd){
                    background: #f0f5fd;
                }
            }
        }
        .text-btn{
            padding: 0;
            line-height: normal;
            background-color: transparent;
            border: none;
            font-size: 28rpx;
            margin-right: 15rpx;
            &[type='primary']{
                color: #365aa6;
            }
            &[type='warn']{
                color: #e64340;
            }
            &:after{
                display: none;
            }
        }
        .pagination{
            margin-top: 30rpx;
            .uni-pagination{
                .uni-pagination__num{
                    flex: none;
                    margin: 0 30rpx;
                    .uni-pagination__num-current-text{
                        font-size: 32rpx !important;
                        color: #222;
                        &.current-index-text{
                            color: #365aa6;
                        }
                    }
                }
                .uni-pagination__btn{
                    background: #365aa6;
                    text{
                        color: #fff !important;
                    }
                }
            }
        }
    }
    .red{
        color: #ee0707;
    }
    .hideBox{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 99;
    }
    .form{
        &.noLabel{
            .uni-forms-item__label{
                display: none;
            }
        }
    }
    .leftLine{
        display: flex;
        align-items: center;
        &:before{
            content: '';
            width: 8rpx;
            height: 30rpx;
            border-radius: 8rpx;
            background: #365aa6;
            margin-right: 20rpx;
        }
    }
    .uni-drawer__content{
        width: 600rpx !important;
    }
</style>
